home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_usrdoc / NCURSES-.{1J / README.{_1 < prev    next >
Text File  |  1999-09-17  |  7KB  |  169 lines

  1.         README file for the ncurses package
  2.  
  3. See the file ANNOUNCE for a summary of ncurses features and ports.
  4. See the file INSTALL for instructions on how to build and install ncurses.
  5. See the file NEWS for a release history and bug-fix notes.
  6. See the file TO-DO for things that still need doing, including known bugs.
  7.  
  8. Browse the file misc/ncurses-intro.html for narrative descriptions of how
  9. to use ncurses and the panel, menu, and form libraries.
  10.  
  11. Browse the file misc/hackguide.html for a tour of the package internals.
  12.  
  13. ROADMAP AND PACKAGE OVERVIEW:
  14.  
  15. You should be reading this file in a directory called: ncurses-d.d.d,
  16. where d.d.d is the current version number (see the dist.mk file in
  17. this directory for that).  There should be a number of subdirectories,
  18. including `c++', `form', `man', `menu', `misc', `ncurses', `panel',
  19. `progs', `test', and `Ada95'.
  20.  
  21. A full build/install of this package typically installs several libraries, a
  22. handful of utilities, and a database hierarchy.  Here is an inventory of the
  23. pieces:
  24.  
  25. The libraries are:
  26.  
  27.     libncurses.a       (normal)
  28.     libncurses.so      (shared)
  29.     libncurses_g.a     (debug and trace code enabled)
  30.     libncurses_p.a     (profiling enabled)
  31.  
  32.     libpanel.a         (normal)
  33.     libpanel_g.a       (debug and trace code enabled)
  34.  
  35.     libmenu.a          (normal)
  36.     libmenu_g.a        (debug enabled)
  37.  
  38.     libform.a          (normal)
  39.     libform_g.a        (debug enabled)
  40.  
  41. The ncurses libraries implement the curses API.  The panel, menu and forms
  42. libraries implement clones of the SVr4 panel, menu and forms APIs.  The
  43. source code for these lives in the `ncurses', `panel', `menu', and
  44. `form' directories respectively.
  45.  
  46. In the `c++' directory, you'll find code that defines an interface to the
  47. curses and panels library packaged as a C++ class, and a demo program in C++
  48. to test it.  These class definition modules are not installed anywhere by
  49. default; it's up to you what you do with them.
  50.  
  51. In the `Ada95' directory, you'll find code and documentation for an
  52. Ada95 binding of the curses API, to be used with the GNATS compiler.
  53. This binding is not built by a normal top-level `make'; see the Ada95
  54. directory for build and installation instructions.
  55.  
  56. In order to do its job, the ncurses code needs your terminal type to be set in
  57. the environment variable TERM (normally set by your OS; under UNIX, getty(1)
  58. typically does this, but you can override it in your .profile); and, it needs a
  59. database of terminal descriptions in which to look up your terminal type's
  60. capabilities.
  61.  
  62. In older (V7/BSD) versions of curses, the database was a flat text file,
  63. /etc/termcap; in newer (USG/USL) versions, the database is a hierarchy of
  64. fast-loading binary description blocks under /usr/lib/terminfo.  These binary
  65. blocks are compiled from an improved editable text representation called
  66. `terminfo' format (documented in man/terminfo.5).  The ncurses library can use
  67. either /etc/termcap or the compiled binary terminfo blocks, but prefers the
  68. second form.
  69.  
  70. In the `misc' directory, there is a text file terminfo.src, in editable
  71. terminfo format, which can be used to generate the terminfo binaries (that's
  72. what make install.data does).  If the package was built with the
  73. --with-termcap option enabled, and the ncurses library can't find a terminfo
  74. description for your terminal, it will fall back to the termcap file supplied
  75. with your system (which the ncurses package installation leaves strictly
  76. alone).
  77.  
  78. The utilities are as follows:
  79.  
  80.     tic             -- terminfo source to binary compiler
  81.     infocmp         -- terminfo binary to source decompiler/comparator
  82.     clear           -- emits clear-screen for current terminal
  83.     tput            -- shell-script access to terminal capabilities.
  84.     tset            -- terminal-initialization utility
  85.     toe        -- table of entries utility
  86.  
  87. The first two are used for manipulating terminfo descriptions; the next two
  88. are for use in shell scripts.  The last is provided for 4.4BSD compatibility.
  89. The source code for all of these lives in the `progs' directory.
  90.  
  91. Detailed documentation for all libraries and utilities can be found in
  92. the `man' directory.  An HTML introduction to ncurses, panels, and
  93. menus programming lives in the `misc' directory.
  94.  
  95. The `test' directory contains programs that can be used to verify the 
  96. functions of the ncurses libraries.  See test/README for descriptions of
  97. these programs.  Notably, the `ncurses' utility is designed to help you
  98. systematically exercise the library functions.
  99.  
  100. RELATED RESOURCES:
  101.  
  102. This distribution now includes (and uses) a copy of the master terminfo
  103. database maintained by Eric Raymond.  This database (which is the 
  104. official descendant of the 4.4BSD termcap file) changes faster than this
  105. code does.
  106.  
  107. You can surf to a WWW page that carries the current terminfo master file,
  108. and news about ncurses, at
  109.  
  110.     http://www.ccil.org/~esr/ncurses.html
  111.  
  112. AUTHORS:
  113.  
  114. Pavel Curtis: 
  115.     wrote the original ncurses
  116.  
  117. Zeyd M. Ben-Halim:
  118.     port of original to Linux and many enhancements.
  119.  
  120. Thomas Dickey (maintainer since 1.9.9e):
  121.     configuration scripts, porting, mods to adhere to XSI Curses in the
  122.     areas of background color, terminal modes.  Also memory leak testing,
  123.     the wresize extension and numerous bug fixes (more than half of those
  124.     enumerated in NEWS since release 1.9.2d)
  125.  
  126. Eric S. Raymond:
  127.     the man pages, infocmp(1), tput(1), clear(1), captoinfo(1), tset(1),
  128.     toe(1), most of tic(1), src/lib_twait.c, trace levels, the HTML intro,
  129.     wgetnstr() and many other entry points,    the cursor-movement
  130.     optimization, the scroll-pack optimizer for vertical motions,
  131.     the mouse interface and xterm mouse support, and the ncurses
  132.     test program.
  133.  
  134. Juergen Pfeifer
  135.     The menu and form code, and the Ada95 binding.  Ongoing support for
  136.     panel.
  137.  
  138. CONTRIBUTORS:
  139.  
  140. David MacKenzie
  141.     for first-class bug-chasing and methodical testing.
  142.  
  143. Ross Ridge
  144.     for the code that hacks termcap parameterized strings into terminfo.
  145.  
  146. Warren Tucker and Gerhard Fuernkranz,
  147.     for writing and sending the panel library.
  148.  
  149. Hellmuth Michaelis,
  150.     for many patches and testing the optimization code.
  151.  
  152. Eric Newton, Ulrich Drepper, and Anatoly Ivasyuk:
  153.     the C++ code.
  154.  
  155. Jonathan Ross,
  156.     for lessons in using sed.
  157.  
  158. Keith Bostic (maintainer of 4.4BSD curses)
  159.     for help, criticism, comments, bug-finding, and being willing to
  160.     deep-six BSD curses for this one when it grew up.
  161.  
  162. Countless other people have contributed by reporting bugs, sending fixes,
  163. suggesting improvements, and generally whining about ncurses :-)
  164.  
  165. BUGS:
  166.     See the INSTALL file for bug and developer-list addresses.
  167.     The Hacker's Guide in the misc directory includes some guidelines
  168.     on how to report bugs in ways that will get them fixed most quickly.
  169.